package com.ruoyi.depot.service;

import java.util.List;
import com.ruoyi.depot.domain.Stocktakes;
import com.ruoyi.depot.domain.vo.AddInventoryTaskVO;

/**
 * 盘点任务Service接口
 * 
 * @author luxiaoyu
 * @date 2025-01-06
 */
public interface IStocktakesService 
{
    /**
     * 查询盘点任务
     * 
     * @param stocktakeId 盘点任务主键
     * @return 盘点任务
     */
    public Stocktakes selectStocktakesByStocktakeId(String stocktakeId);

    /**
     * 查询盘点任务列表
     * 
     * @param stocktakes 盘点任务
     * @return 盘点任务集合
     */
    public List<Stocktakes> selectStocktakesList(Stocktakes stocktakes);

    /**
     * 新增盘点任务
     * 
     * @param addInventoryTaskVO 盘点任务
     * @return 结果
     */
    public int insertStocktakes(AddInventoryTaskVO addInventoryTaskVO);

    /**
     * 修改盘点任务
     * 
     * @param stocktakes 盘点任务
     * @return 结果
     */
    public int updateStocktakes(Stocktakes stocktakes);

    /**
     * 批量删除盘点任务
     * 
     * @param stocktakeIds 需要删除的盘点任务主键集合
     * @return 结果
     */
    public int deleteStocktakesByStocktakeIds(String[] stocktakeIds);

    /**
     * 删除盘点任务信息
     * 
     * @param stocktakeId 盘点任务主键
     * @return 结果
     */
    public int deleteStocktakesByStocktakeId(Long stocktakeId);



}
